<% @page_title = "Edit Catalog" %>
<%= error_messages_for 'catalog' %>

<% form_tag :action => 'create' do %>  
  <fieldset style="width: 25em;">
    <legend>Create New Catalog</legend>    

    <p>
      <label for="catalog_name">Catalog Name</label><br/>
      <%= text_field 'catalog', 'name'  %>
    </p>

    <p>
      <label for="catalog_description">Description</label><br/>
      <%= text_area 'catalog', 'description', :cols => 50, :rows => 5 %>
    </p>

    <p>      
      <%= radio_button("catalog", "access", 0) %> Private &nbsp;
      <%= radio_button("catalog", "access", 1) %> Protected &nbsp;
      <%= radio_button("catalog", "access", 2) %> Public &nbsp;  
    </p>

    <%= submit_tag "Create" %>
  </fieldset>
  
<% end %>

<%= link_to 'Back', :action => 'list'%>
